﻿using Microsoft.EntityFrameworkCore;

namespace BruceCore.Entity
{
    public class BruceContext : DbContext
    {
        public BruceContext(DbContextOptions<BruceContext> options) : base(options)
        {

        }
        public DbSet<SysUser> SysUser { get { return Set<SysUser>(); } }
        public DbSet<SysRole> SysRole { get { return Set<SysRole>(); } }
        public DbSet<SysRight> SysRight { get { return Set<SysRight>(); } }
        public DbSet<SysDictCode> SysDictCode { get { return Set<SysDictCode>(); } }
        public DbSet<SysLoginSession> SysLoginSession { get { return Set<SysLoginSession>(); } }
        public DbSet<SysRoleRight> SysRoleRight { get { return Set<SysRoleRight>(); } }        
        public DbSet<SysLoginLock> SysLoginLock { get { return Set<SysLoginLock>(); } }
    }
}
